package com.ssy.lingxi.order.service.mobile;

import com.ssy.lingxi.common.model.vo.PageVO;
import com.ssy.lingxi.common.response.PageData;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.order.model.vo.mobile.request.MobileWechatAppletBindMemberOrderCountVO;
import com.ssy.lingxi.order.model.vo.mobile.response.MobileMemberSalesOrderCountQueryVO;
import com.ssy.lingxi.order.model.vo.mobile.response.MobileAchievementCountQueryVO;
import com.ssy.lingxi.order.model.vo.mobile.response.MobileMemberSalesCountQueryVO;
import org.springframework.http.HttpHeaders;

/**
 * 业务员微信小程序-订单统计相关接口
 *
 * @author 郑小翠
 * @version 2.02.18
 * @date 2022-03-24
 */
public interface IMobileMemberSalesCountService {

    /**
     * 根据业务员Id查询订单，并进行订单统计
     *
     * @param headers 头部信息
     * @return 返回符合条件的业务员
     */
    Wrapper<MobileMemberSalesOrderCountQueryVO> orderCountWechatApplet(HttpHeaders headers);

    /**
     * 查看绑定会员
     *
     * @param headers      头部信息
     * @param orderCountVO 查询条件
     * @return 返回绑定会员订单统计列表
     */
    Wrapper<PageData<MobileMemberSalesCountQueryVO>> bindMemberOrderCountWechatApplet(HttpHeaders headers, MobileWechatAppletBindMemberOrderCountVO orderCountVO);

    /**
     * 查看业务员个人业绩
     *
     * @param headers 头部信息
     * @param pageVO  分页信息
     * @return 返回业务员个人业绩统计信息
     */
    Wrapper<PageData<MobileAchievementCountQueryVO>> personalAchievement(HttpHeaders headers, PageVO pageVO);



}
